package kr.hkit.powerjava.chapter26.dao;

import java.sql.SQLException;
import java.util.ArrayList;

public interface DaoInterface<T> {
	public void insertItem (T item) throws SQLException; 
	public void deleteItemByNo (T item) throws SQLException; //반환값 받을수도 있음. 성공하면 1, 실패면 2 뭐 이런식으로
	public void updateItemByNo (T item) throws SQLException;
	public ArrayList<T> listItems() throws SQLException; //목록보기
	public T searchItem(T item) throws SQLException;
	
}
